/*
Copyright (C) 2018-2019 de4dot@gmail.com

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

// ⚠️This file was generated by GENERATOR!🦹‍♂️

#nullable enable

#if ENCODER
namespace Iced.Intel.EncoderInternal {
	static class OpHandlerData {
		public static readonly Op[] LegacyOps = new Op[120] {
			new OpA(2),
			new OpA(4),
			new OpModRM_rm_mem_only(),
			new OpModRM_rm_mem_only(),
			new OpModRM_rm_mem_only(),
			new OpModRM_rm_mem_only(),
			new OpModRM_rm_mem_only(),
			new OpModRM_rm_mem_only(),
			new OpModRM_rm_mem_only(),
			new OpModRM_rm_mem_only(),
			new OpModRM_rm_mem_only(),
			new OpModRM_rm_mem_only(),
			new OpModRM_rm_mem_only(),
			new OpModRM_rm_mem_only(),
			new OpModRM_rm_mem_only(),
			new OpModRM_rm_mem_only(),
			new OpModRM_rm_mem_only(),
			new OpModRM_rm_mem_only(),
			new OpModRM_rm_mem_only(),
			new OpModRM_rm_mem_only(),
			new OpModRM_rm_mem_only(),
			new OpModRM_rm_mem_only(),
			new OpModRM_rm_mem_only(),
			new OpModRM_rm_mem_only(),
			new OpModRM_rm_mem_only(),
			new OpModRM_rm(Register.AL, Register.R15L),
			new OpModRM_rm(Register.AX, Register.R15W),
			new OpModRM_rm(Register.EAX, Register.R15D),
			new OpModRM_rm(Register.EAX, Register.R15D),
			new OpModRM_rm(Register.EAX, Register.R15D),
			new OpModRM_rm(Register.RAX, Register.R15),
			new OpModRM_rm(Register.RAX, Register.R15),
			new OpModRM_rm(Register.RAX, Register.R15),
			new OpModRM_rm_mem_only(),
			new OpModRM_rm_mem_only(),
			new OpModRM_rm_mem_only(),
			new OpModRM_rm(Register.EAX, Register.R15D),
			new OpModRM_rm(Register.RAX, Register.R15),
			new OpModRM_rm(Register.EAX, Register.R15D),
			new OpModRM_rm(Register.RAX, Register.R15),
			new OpModRM_reg(Register.AL, Register.R15L),
			new OpModRM_reg(Register.AX, Register.R15W),
			new OpModRM_reg(Register.EAX, Register.R15D),
			new OpModRM_reg(Register.RAX, Register.R15),
			new OpModRM_reg_mem(Register.AX, Register.R15W),
			new OpModRM_reg_mem(Register.EAX, Register.R15D),
			new OpModRM_reg_mem(Register.RAX, Register.R15),
			new OpModRM_rm_reg_only(Register.AX, Register.R15W),
			new OpModRM_rm_reg_only(Register.EAX, Register.R15D),
			new OpModRM_rm_reg_only(Register.RAX, Register.R15),
			new OpModRM_reg(Register.ES, Register.GS),
			new OpModRM_regF0(Register.CR0, Register.CR15),
			new OpModRM_reg(Register.CR0, Register.CR15),
			new OpModRM_reg(Register.DR0, Register.DR15),
			new OpModRM_reg(Register.DR0, Register.DR15),
			new OpModRM_reg(Register.TR0, Register.TR7),
			new OpIb(OpKind.Immediate8),
			new OpIb(OpKind.Immediate8to16),
			new OpIb(OpKind.Immediate8to32),
			new OpIb(OpKind.Immediate8to64),
			new OpIw(),
			new OpId(OpKind.Immediate32),
			new OpId(OpKind.Immediate32to64),
			new OpIq(),
			new OpIb21(),
			new OpIb11(),
			new OpX(),
			new OpX(),
			new OpX(),
			new OpX(),
			new OpY(),
			new OpY(),
			new OpY(),
			new OpY(),
			new OpJ(OpKind.NearBranch16, 1),
			new OpJ(OpKind.NearBranch32, 1),
			new OpJ(OpKind.NearBranch64, 1),
			new OpJ(OpKind.NearBranch16, 2),
			new OpJ(OpKind.NearBranch32, 4),
			new OpJ(OpKind.NearBranch32, 4),
			new OpJ(OpKind.NearBranch64, 4),
			new OpJx(2),
			new OpJx(4),
			new OpJdisp(2),
			new OpJdisp(4),
			new OpO(),
			new OpO(),
			new OpO(),
			new OpO(),
			new OpImm(1),
			new OpModRM_reg(Register.BND0, Register.BND3),
			new OpModRM_rm(Register.BND0, Register.BND3),
			new OpModRM_rm(Register.BND0, Register.BND3),
			new OpModRM_rm_mem_only(),
			new OpModRM_rm_reg_only(Register.MM0, Register.MM7),
			new OpModRM_reg(Register.MM0, Register.MM7),
			new OpModRM_rm(Register.MM0, Register.MM7),
			new OpModRM_rm_reg_only(Register.XMM0, Register.XMM15),
			new OpModRM_reg(Register.XMM0, Register.XMM15),
			new OpModRM_rm(Register.XMM0, Register.XMM15),
			new OprDI(),
			new OpMRBX(),
			new OpReg(Register.ES),
			new OpReg(Register.CS),
			new OpReg(Register.SS),
			new OpReg(Register.DS),
			new OpReg(Register.FS),
			new OpReg(Register.GS),
			new OpReg(Register.AL),
			new OpReg(Register.CL),
			new OpReg(Register.AX),
			new OpReg(Register.DX),
			new OpReg(Register.EAX),
			new OpReg(Register.RAX),
			new OpReg(Register.ST0),
			new OpRegSTi(),
			new OpRegEmbed8(Register.AL, Register.R15L),
			new OpRegEmbed8(Register.AX, Register.R15W),
			new OpRegEmbed8(Register.EAX, Register.R15D),
			new OpRegEmbed8(Register.RAX, Register.R15),
		};
#if !NO_VEX
		public static readonly Op[] VexOps = new Op[38] {
			new OpModRM_rm(Register.EAX, Register.R15D),
			new OpModRM_rm(Register.RAX, Register.R15),
			new OpModRM_reg(Register.EAX, Register.R15D),
			new OpModRM_reg(Register.RAX, Register.R15),
			new OpModRM_rm(Register.EAX, Register.R15D),
			new OpModRM_rm(Register.RAX, Register.R15),
			new OpModRM_rm(Register.EAX, Register.R15D),
			new OpModRM_rm(Register.RAX, Register.R15),
			new OpModRM_rm_reg_only(Register.EAX, Register.R15D),
			new OpModRM_rm_reg_only(Register.RAX, Register.R15),
			new OpHx(Register.EAX, Register.R15D),
			new OpHx(Register.RAX, Register.R15),
			new OpHx(Register.K0, Register.K7),
			new OpHx(Register.XMM0, Register.XMM15),
			new OpHx(Register.YMM0, Register.YMM15),
			new OpIb(OpKind.Immediate8),
			new OpI2(),
			new OpIs4x(Register.XMM0, Register.XMM15),
			new OpIs4x(Register.YMM0, Register.YMM15),
			new OpIs4x(Register.XMM0, Register.XMM15),
			new OpIs4x(Register.YMM0, Register.YMM15),
			new OpModRM_rm_mem_only(),
			new OpModRM_rm_mem_only(),
			new OpModRM_rm_mem_only(),
			new OprDI(),
			new OpModRM_rm_reg_only(Register.K0, Register.K7),
			new OpModRM_rm_reg_only(Register.XMM0, Register.XMM15),
			new OpModRM_rm_reg_only(Register.YMM0, Register.YMM15),
			new OpModRM_reg(Register.K0, Register.K7),
			new OpVMx(Register.XMM0, Register.XMM15),
			new OpVMx(Register.YMM0, Register.YMM15),
			new OpVMx(Register.XMM0, Register.XMM15),
			new OpVMx(Register.YMM0, Register.YMM15),
			new OpModRM_reg(Register.XMM0, Register.XMM15),
			new OpModRM_reg(Register.YMM0, Register.YMM15),
			new OpModRM_rm(Register.K0, Register.K7),
			new OpModRM_rm(Register.XMM0, Register.XMM15),
			new OpModRM_rm(Register.YMM0, Register.YMM15),
		};
#endif
#if !NO_XOP
		public static readonly Op[] XopOps = new Op[18] {
			new OpModRM_rm(Register.EAX, Register.R15D),
			new OpModRM_rm(Register.RAX, Register.R15),
			new OpModRM_reg(Register.EAX, Register.R15D),
			new OpModRM_reg(Register.RAX, Register.R15),
			new OpModRM_rm_reg_only(Register.EAX, Register.R15D),
			new OpModRM_rm_reg_only(Register.RAX, Register.R15),
			new OpHx(Register.EAX, Register.R15D),
			new OpHx(Register.RAX, Register.R15),
			new OpHx(Register.XMM0, Register.XMM15),
			new OpHx(Register.YMM0, Register.YMM15),
			new OpIb(OpKind.Immediate8),
			new OpId(OpKind.Immediate32),
			new OpIs4x(Register.XMM0, Register.XMM15),
			new OpIs4x(Register.YMM0, Register.YMM15),
			new OpModRM_reg(Register.XMM0, Register.XMM15),
			new OpModRM_reg(Register.YMM0, Register.YMM15),
			new OpModRM_rm(Register.XMM0, Register.XMM15),
			new OpModRM_rm(Register.YMM0, Register.YMM15),
		};
#endif
#if !NO_EVEX
		public static readonly Op[] EvexOps = new Op[35] {
			new OpModRM_rm(Register.EAX, Register.R15D),
			new OpModRM_rm(Register.RAX, Register.R15),
			new OpModRM_reg(Register.EAX, Register.R15D),
			new OpModRM_reg(Register.RAX, Register.R15),
			new OpModRM_rm(Register.EAX, Register.R15D),
			new OpModRM_rm(Register.RAX, Register.R15),
			new OpModRM_rm(Register.EAX, Register.R15D),
			new OpModRM_rm(Register.RAX, Register.R15),
			new OpHx(Register.XMM0, Register.XMM31),
			new OpHx(Register.YMM0, Register.YMM31),
			new OpHx(Register.ZMM0, Register.ZMM31),
			new OpHx(Register.XMM0, Register.XMM31),
			new OpHx(Register.ZMM0, Register.ZMM31),
			new OpIb(OpKind.Immediate8),
			new OpModRM_rm_mem_only(),
			new OpModRM_rm_reg_only(Register.EAX, Register.R15D),
			new OpModRM_rm_reg_only(Register.RAX, Register.R15),
			new OpModRM_rm_reg_only(Register.XMM0, Register.XMM31),
			new OpModRM_rm_reg_only(Register.YMM0, Register.YMM31),
			new OpModRM_rm_reg_only(Register.ZMM0, Register.ZMM31),
			new OpModRM_rm_reg_only(Register.K0, Register.K7),
			new OpVMx(Register.XMM0, Register.XMM31),
			new OpVMx(Register.YMM0, Register.YMM31),
			new OpVMx(Register.ZMM0, Register.ZMM31),
			new OpVMx(Register.XMM0, Register.XMM31),
			new OpVMx(Register.YMM0, Register.YMM31),
			new OpVMx(Register.ZMM0, Register.ZMM31),
			new OpModRM_reg(Register.K0, Register.K7),
			new OpModRM_reg(Register.K0, Register.K7),
			new OpModRM_reg(Register.XMM0, Register.XMM31),
			new OpModRM_reg(Register.YMM0, Register.YMM31),
			new OpModRM_reg(Register.ZMM0, Register.ZMM31),
			new OpModRM_rm(Register.XMM0, Register.XMM31),
			new OpModRM_rm(Register.YMM0, Register.YMM31),
			new OpModRM_rm(Register.ZMM0, Register.ZMM31),
		};
#endif
	}
}
#endif
